// 定义商品分类的数据类型
export type Goods = {
  goodsId: number;
  goodsName: string;
  userId: number;
  categoryId: number;
  categoryName: string;
  price: number;
  phoneNum: string;
  wechatId: string;
  image: string;
  createdAt?: string;
  updatedAt?: string;
  status:number
};

// 定义商品列表查询参数
// 对应后端gooodslistparm.java的参数
export type GoodsListParams = {
  currentPage: number;
  pageSize: number;
  goodsName: string;
  total?: number;
};
